import request from '@/utils/request/request'
// 登录
export function login(userId, password) {
  return request({
    url: '/web/core/login',
    method: 'post',
    data: {
      userId,
      password
    }
  })
}


// 获取权限数组 
export function getInfo() {
  return request({
    url: '/web/tRolePermission/getPerMenu',
    method: 'get'
  })
}


